Skip to content

feat(ci): add GitHub Actions workflow and Makefile for deploy_gcp#30

Merged
samlaf merged 1 commit intomainfrom
ci--add-ci-for-deploy-gcp
May 4, 2026
Merged

feat(ci): add GitHub Actions workflow and Makefile for deploy_gcp#30
samlaf merged 1 commit intomainfrom
ci--add-ci-for-deploy-gcp

Conversation

@samlaf
Copy link
Copy Markdown
Contributor

@samlaf samlaf commented May 4, 2026

Adds a check workflow (push to main, all PRs) that runs make check, which wraps ruff check, ruff format --check, and ty check against the deploy_gcp package. uv picks up the Python version from .python-version.

Also clears the lint/format/type debt in deploy_gcp so the workflow is green on day one:

  • B904 raise ... from e on re-raised exceptions
  • E501/B007 line-length and unused loop var fixes
  • ruff format applied across the package
  • narrow state.public_ip: str | None with asserts at use sites
  • cast around seismic_web3's PrivateKey.__new__ stub bug
  • # ty: ignore for the runtime-attached w3.seismic attribute
  • dict[str, Any] for pydantic kwargs in DeploymentConfig.from_conf_file

deploy_tee is intentionally out of scope; it has its own lint/type debt that will be cleaned up in a follow-up PR before being added to the workflow.

Adds a `check` workflow (push to main, all PRs) that runs `make check`,
which wraps `ruff check`, `ruff format --check`, and `ty check` against
the `deploy_gcp` package. uv picks up the Python version from
`.python-version`.

Also clears the lint/format/type debt in `deploy_gcp` so the workflow
is green on day one:
  - B904 `raise ... from e` on re-raised exceptions
  - E501/B007 line-length and unused loop var fixes
  - `ruff format` applied across the package
  - narrow `state.public_ip: str | None` with asserts at use sites
  - cast around seismic_web3's `PrivateKey.__new__` stub bug
  - `# ty: ignore` for the runtime-attached `w3.seismic` attribute
  - `dict[str, Any]` for pydantic kwargs in DeploymentConfig.from_conf_file

`deploy_tee` is intentionally out of scope; it has its own lint/type
debt that will be cleaned up in a follow-up PR before being added to
the workflow.
@samlaf samlaf merged commit 7d84482 into main May 4, 2026
1 check passed
@samlaf samlaf deleted the ci--add-ci-for-deploy-gcp branch May 4, 2026 20:23
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant